#ifndef SMS_H
#define SMS_H

#include <QObject>
#if defined(USEMOBILITY)
    #include <QMessageManager>
    #include <QMessageService>    
#endif
#include <QDebug>

#if defined(USEMOBILITY)
QTM_USE_NAMESPACE
#endif

class SMS : public QObject
{
    Q_OBJECT

public:
    explicit SMS(QObject *parent = 0);
    ~SMS();

    void EnviarMensagem(const QString &msg, const QString &telefone, bool emitirPrevia);

private:
#if defined(USEMOBILITY)
    QMessageService *_servico;
    QMessageManager *_msgMan;
#endif

signals:
    void enviandoMensagem();
    void erroEnvio();    

public slots:

    
};

#endif // SMS_H
